
#import "SMRoundedButton.h"
@implementation SMRoundedButton
- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self.layer.cornerRadius = 12;
        self.layer.masksToBounds = YES;
        self.titleLabel.font = [UIFont boldSystemFontOfSize:16];
        [self setTitleColor:UIColor.whiteColor forState:UIControlStateNormal];
        self.backgroundColor = [UIColor systemBlueColor];
        self.contentEdgeInsets = UIEdgeInsetsMake(12, 16, 12, 16);
    }
    return self;
}
@end
